import request from '../utils/request.ts'

// 获取产品管理员列表

export const UserProductSeriver = (params)=>request.get('/user/product/manage',{params})

// 获取用户管理员列表

export const UserUserSeriver = (params)=>request.get('/user/user/manage',{params})


// 获取消息管理员列表
export const UserMessageSeriver = (params)=>request.get('/user/message/manage',{params})


// 获取用户列表
export const UserListSeriver = (params)=>request.get('/user/user/list',{params})


// 根据id获取用户信息
export const UserGetListSErive = (id)=>request.get('/user/user/id',id)

// 冻结用户
export const UserFreezeSerive = (id)=>request.post('/user/freeze',{id})

// 解冻
export const UserThawSerive = (id)=>request.post('/user/thaw',{id})


// 获取个人信息

export const UserGetUserInfoSerive = ()=>request.post('/user/userInfo')